<?php

declare(strict_types=1);

use BinContainerPacking\Bin;
use BinContainerPacking\Item;

require_once __DIR__ . '/vendor/autoload.php';


$package = new \BinContainerPacking\Package();


$items = [
    new Item(1, 4.1, 4.1, 4.1, 5),
    new Item(13, 6, 6, 6, 5),
];

$package->setItems($items);

$package->setBins([
    new Bin(13, 13, 13, 13, 10),
    new Bin(11, 10, 10, 10, 10),
    new Bin(12, 12, 12, 12, 10),
]);

print_r($package->pack());